<template>
    <div class="pagination">
        <div class="pre"  @click="paginationChange('pre')" >上一页</div>
        <div class="next" @click="paginationChange('next')" >下一页</div>
    </div>
</template>

<script setup>
import { defineProps } from 'vue';
const { paginationChange } = defineProps(['paginationChange'])

</script>
<style lang="less" scoped>
.pagination{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    .pre{
        margin-right: 20px;
        background-color: dodgerblue;
        padding: 10px;
    }
    .next{
        background-color: dodgerblue;
        padding: 10px;
    }
}
</style>